package edu.neu.chenhan.model;


import java.io.Serializable;

public class News implements Serializable {
    private String title;
    private String summary;
    private String publishTime;
    private int readCount;
    private String content;

    public News(String title, String summary, String publishTime, int readCount, String content) {
        this.title = title;
        this.summary = summary;
        this.publishTime = publishTime;
        this.readCount = readCount;
        this.content = content;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public String getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(String publishTime) {
        this.publishTime = publishTime;
    }

    public int getReadCount() {
        return readCount;
    }

    public void setReadCount(int readCount) {
        this.readCount = readCount;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}








